package com.xiaoshuidi.cloud.module.member.controller.admin.securitycheckprogram.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.io.Serializable;
import java.util.*;
import javax.validation.constraints.*;

/**
* 安全检查项目 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class SecurityCheckProgramBaseVO implements Serializable {

    @Schema(description = "项目名", required = true)
    @NotNull(message = "项目名不能为空")
    private String name;

    @Schema(description = "受检单位名", required = true)
    @NotNull(message = "受检单位不能为空")
    private String checkWorkUnit;

    @Schema(description = "状态，是否启用", required = true)
    @NotNull(message = "状态，是否启用不能为空")
    private Boolean status;

    @Schema(description = "网格人员", required = true)
    @NotNull(message = "请选择网格人员")
    private List<Gridders> gridders;

    @Schema(description = "备注")
    private String remark;
}
